<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script>
    //数组名[索引]：索引从0开始
    let arr=[12,4,'dgf',false,null,34,,,,124.54332];
    console.log(arr[5]);
    console.log(arr[6]);
    console.log(arr);
    console.log('......');
    console.log(arr.length);
    console.log('......');
    for(let i=0;i<arr;i++){
        console.log(arr(i));
    }
</script>
</html>